package com.rf.richfitwheel.admin.sys.model;

import java.util.Date;

public class Role {
    private String id;

    private String roleName;

    private String remark;

    private String createUserId;

    private Date createTime;

    private String modUserId;

    private Date modTime;

    private String tenantId;

    private String moduleType;
    
    /**
	 * 资源权限
	 */
    private String[] resId;

    public Role(String id, String roleName, String remark, String createUserId, Date createTime, String modUserId, Date modTime, String tenantId,String moduleType) {
        this.id = id;
        this.roleName = roleName;
        this.remark = remark;
        this.createUserId = createUserId;
        this.createTime = createTime;
        this.modUserId = modUserId;
        this.modTime = modTime;
        this.tenantId = tenantId;
        this.moduleType = moduleType;
    }

    public Role() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModUserId() {
        return modUserId;
    }

    public void setModUserId(String modUserId) {
        this.modUserId = modUserId == null ? null : modUserId.trim();
    }

    public Date getModTime() {
        return modTime;
    }

    public void setModTime(Date modTime) {
        this.modTime = modTime;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId == null ? null : tenantId.trim();
    }

	public String[] getResId() {
		return resId;
	}

	public void setResId(String[] resId) {
		this.resId = resId;
	}

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType ;
    }
	/* （非 Javadoc）
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Role [id=");
		builder.append(id);
		builder.append(", roleName=");
		builder.append(roleName);
		builder.append(", remark=");
		builder.append(remark);
		builder.append(", createUserId=");
		builder.append(createUserId);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", modUserId=");
		builder.append(modUserId);
		builder.append(", modTime=");
		builder.append(modTime);
		builder.append(", tenantId=");
		builder.append(tenantId);
        builder.append(", moduleType=");
        builder.append(moduleType);
		builder.append("]");
		return builder.toString();
	}
}